﻿<!--Ctrl K-C / Ctrl K-U to REM / UNREM-->
<custom:CustomWindow x:Class="DienVu.HalReportWPF"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:custom="clr-namespace:CustomControls;assembly=CustomControls"
        xmlns:system="clr-namespace:System;assembly=mscorlib"
    Title="HalReport-PTTEP" MinWidth="0" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="10" Foreground="{x:Null}" Background="{x:Null}" Icon="/HalReportWPF;component/Resources/Icon/HalLogoRound1.ico"  Closed="CustomWindow_Closed" Loaded="CustomWindow_Loaded" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="330" d:DesignWidth="308" Width="308" Height="632" DragOver="CustomWindow_DragOver" DragEnter="CustomWindow_DragEnter" Drop="CustomWindow_Drop" AllowDrop="True">
    <Window.Resources>
        <system:Double x:Key="ImageSize">32</system:Double>
        <Style TargetType="{x:Type MenuItem}">
            <Setter Property="Background" Value="Gray"></Setter>
            <Setter Property="Foreground" Value="White"></Setter>
            <Setter Property="FontSize" Value="13"></Setter>
            <Setter Property="FontFamily" Value="Calibri"></Setter>
            <Setter Property="Margin" Value="-4,0,0,0"></Setter>
            <Style.Triggers>
                <Trigger Property="IsHighlighted" Value="True">
                    <Setter Property="Background" Value="Red"></Setter>
                    <Setter Property="FontSize" Value="15"></Setter>
                </Trigger>
                <Trigger Property="IsEnabled" Value="False">
                    <Setter Property="Foreground" Value="LightGray"></Setter>
                </Trigger>
            </Style.Triggers>
        </Style>
        <Style x:Key="DienStyle" TargetType="{x:Type MenuItem}">
            <Setter Property="Background" Value="SteelBlue"></Setter>
            <Setter Property="Foreground" Value="White"></Setter>
            <Setter Property="FontSize" Value="13"></Setter>
            <Setter Property="FontFamily" Value="Calibri"></Setter>
            <Setter Property="Margin" Value="10,0,0,0"></Setter>
            <Style.Triggers>
                <Trigger Property="IsHighlighted" Value="True">
                    <Setter Property="Background" Value="Red"></Setter>
                    <Setter Property="FontSize" Value="15"></Setter>
                </Trigger>
                <Trigger Property="IsEnabled" Value="False">
                    <Setter Property="Foreground" Value="LightGray"></Setter>
                </Trigger>
            </Style.Triggers>
        </Style>
    </Window.Resources>
    <WrapPanel Height="Auto" Name="wrapPanel1" Width="Auto" HorizontalAlignment="Center" VerticalAlignment="Top">
        <Button Content="Demo SUMMIT" Height="30" MinWidth="0" Name="butSummit" Width="120" Margin="10" BorderBrush="Red" Foreground="Black" Background="#FFFFFFCE" FontWeight="Bold" FontFamily="Tahoma" Click="butSummit_Click" Padding="0"></Button>
        <Button Content="Daily Report" Height="30" MinWidth="0" Name="butDailyReport" Width="120" Margin="10" BorderBrush="#FF0032FF" Foreground="Black" Background="#FFFFFFCE" AllowDrop="True" DragEnter="butDailyReport_DragEnter" DragOver="butDailyReport_DragOver" Drop="butDailyReport_Drop" Click="butDailyReport_Click"/>
        <Button Content="FARPAC" Height="30" MinWidth="0" Name="butFARPAC" Width="120" Margin="10" BorderBrush="#FF0032FF" Foreground="Black" Background="#FFFFFFCE" Click="butFARPAC_Click"></Button>
        <Button Content="EXP Inventory" Height="30" MinWidth="0" Name="butEXP" Width="120" Margin="10" BorderBrush="#FF0032FF" Foreground="Black" Background="#FFFFFFCE"></Button>
        <Button Content="Cable Record" Height="30" MinWidth="0" Name="butCable" Width="120" Margin="10" BorderBrush="#FF0032FF" Foreground="Black" Background="#FFFFFFCE" ></Button>
        <Button Content="CCL Tracking" Height="30" MinWidth="0" Name="butCCL" Width="120" Margin="10" BorderBrush="#FF0032FF" Foreground="Black" Background="#FFFFFFCE" ></Button>
        <Button Content="PERF RISK" Height="30" MinWidth="0" Name="butPerfRisk" Width="120" Margin="10" BorderBrush="#FF0032FF" Foreground="Black" Background="#FFFFFFCE" ></Button>
        <Button Content="JOB Planning" Height="30" MinWidth="0" Name="butJobPlan" Width="120" Margin="10" BorderBrush="#FFF22616" Foreground="#FFE22828" Background="#FFFFFFCE" FontWeight="Bold"></Button>
        <Button Content="Easy Network" Height="30" MinWidth="0" Name="butNetwork" Width="120" Margin="10" BorderBrush="#FF1D76DE" Foreground="#FF1285CB" Background="#FFFFFFCE" FontWeight="Bold" Click="butNetwork_Click"></Button>
        <TextBox Height="Auto" Name="txtDienVu" Width="Auto" Text="dien.vu@halliburton.com" BorderBrush="{x:Null}" Foreground="#FF7C7E83" FontSize="10" TextAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="12" Background="{x:Null}" Cursor="Hand" Padding="0" IsEnabled="True" AllowDrop="True" IsReadOnly="True" MouseDoubleClick="txtDienVu_MouseDoubleClick">
            <TextBox.ContextMenu>
                <ContextMenu Padding="0" Margin="0">
                    <!--1. MULTISPLIT-->
                    <MenuItem>
                        <MenuItem.Header>
                            <TextBlock Text="MULTISPLIT" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                        </MenuItem.Header>
                        <MenuItem.Icon>
                            <Border Background="LightGray" Padding="2">
                                <Image Source="Resources\Icon\ASEP-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                            </Border>
                        </MenuItem.Icon>
                        <!--1.1. USER MANUAL-->
                        <MenuItem Click="MenuItem_Click_1_1" Padding="0" Margin="0" ClipToBounds="True">
                            <MenuItem.Header>
                                <TextBlock Text="UserManual ASEP ELU9923" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--1.2. HYDRAULIC & PNEUMATIC DIAGRAM-->
                        <MenuItem Click="MenuItem_Click_1_2">
                            <MenuItem.Header>
                                <TextBlock Text="Hydraulic &amp; Pneumatic Diagram" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--1.3. ELECTRICAL DIAGRAM-->
                        <MenuItem Click="MenuItem_Click_1_3">
                            <MenuItem.Header>
                                <TextBlock Text="Electrical Diagram ELU9923" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--1.4. SET WINCH SPEED-->
                        <MenuItem Click="MenuItem_Click_1_4">
                            <MenuItem.Header>
                                <TextBlock Text="Hydraulic Winch Speed Setting" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resource\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--1.5. GENERATOR-->
                        <MenuItem Click="MenuItem_Click_1_5" IsEnabled="False">
                            <MenuItem.Header>
                                <TextBlock Text="Generator Powerpack ELU9923" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--1.6. STARTERMOTOR-->
                        <MenuItem Click="MenuItem_Click_1_6" IsEnabled="False">
                            <MenuItem.Header>
                                <TextBlock Text="Starter Motor ELU9923" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--1.7. GAS & FIRE ALARM-->
                        <MenuItem Click="MenuItem_Click_1_7">
                            <MenuItem.Header>
                                <TextBlock Text="Gas &amp; Fire Alarm Guideline" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>

                        <!--1.8. TROUBLESHOOTING-->
                        <MenuItem Click="MenuItem_Click_1_8">
                            <MenuItem.Header>
                                <TextBlock Text="Cased-Hole TroubleShooting Guideline" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>

                    </MenuItem>
                    <!--2. LOGIQ-->
                    <MenuItem>
                        <MenuItem.Header>
                            <TextBlock Text="LOGIQ-A" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                        </MenuItem.Header>
                        <MenuItem.Icon>
                            <Border Background="LightGray" Padding="2">
                                <Image Source="Resources\Icon\LOGIQ-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                            </Border>
                        </MenuItem.Icon>
                        <!--2.1. BLOCK DIAGRAM-->
                        <MenuItem Click="MenuItem_Click_2_1">
                            <MenuItem.Header>
                                <TextBlock Text="Cased-Hole System Block Diagram" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\WORD-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--2.2. ELECTRICAL DIAGRAM-->
                        <MenuItem Click="MenuItem_Click_2_2" IsEnabled="False">
                            <MenuItem.Header>
                                <TextBlock Text="Cased-Hole System Electrical Diagram" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>

                    </MenuItem>
                    <!--3. WORKMETHOD-->
                    <MenuItem>
                        <MenuItem.Header>
                            <TextBlock Text="WORK METHOD" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                        </MenuItem.Header>
                        <MenuItem.Icon>
                            <Border Background="LightGray" Padding="2">
                                <Image Source="Resources\Icon\WM-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                            </Border>
                        </MenuItem.Icon>
                        <!--3.1. WHOLE FOLDER-->
                        <MenuItem Click="MenuItem_Click_3_1">
                            <MenuItem.Header>
                                <TextBlock Text="Work Method FOLDER" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\FOLDER-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--3.2. TROUBLESHOOTING-->
                        <MenuItem Click="MenuItem_Click_3_2">
                            <MenuItem.Header>
                                <TextBlock Text="Trouble Shooting" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--3.3. PERFORATION IN GOT-->
                        <MenuItem Click="MenuItem_Click_3_3">
                            <MenuItem.Header>
                                <TextBlock Text="Perforation in GOT" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--3.4. SELECTIVE PERF-->
                        <MenuItem Click="MenuItem_Click_3_4">
                            <MenuItem.Header>
                                <TextBlock Text="Selective Perforation" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--3.5. HIGH TEMP PERF-->
                        <MenuItem Click="MenuItem_Click_3_5">
                            <MenuItem.Header>
                                <TextBlock Text="High Temp. Perforation" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>

                        <!--3.6. RIH & POOH-->
                        <MenuItem Click="MenuItem_Click_3_6">
                            <MenuItem.Header>
                                <TextBlock Text="RIH &amp; POOH Procedure" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>

                        <!--3.7. SEASONING CABLE-->
                        <MenuItem Click="MenuItem_Click_3_7">
                            <MenuItem.Header>
                                <TextBlock Text="Seasoning New Cable" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>

                    </MenuItem>

                    <!--4. JSA-->
                    <MenuItem>
                        <MenuItem.Header>
                            <TextBlock Text="JOB JSA" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                        </MenuItem.Header>
                        <MenuItem.Icon>
                            <Border Background="LightGray" Padding="2">
                                <Image Source="Resources\Icon\JSA-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                            </Border>
                        </MenuItem.Icon>
                        <!--4.1. JSA WHOLE FOLDER-->
                        <MenuItem Click="MenuItem_Click_4_1">
                            <MenuItem.Header>
                                <TextBlock Text="JSA FOLDER" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\FOLDER-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--4.2. RIG UP & DOWN WITH MAST-->
                        <MenuItem Click="MenuItem_Click_4_2">
                            <MenuItem.Header>
                                <TextBlock Text="Rig-Up &amp; Down with Mast" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\WORD-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--4.3. MARKING & BREAKING CONNECTION-->
                        <MenuItem Click="MenuItem_Click_4_3">
                            <MenuItem.Header>
                                <TextBlock Text="Marking &amp; Breaking Connection" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\WORD-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--4.4. PERFORATION IN REMOTE PLATFORM-->
                        <MenuItem Click="MenuItem_Click_4_4">
                            <MenuItem.Header>
                                <TextBlock Text="Perforation in Remote Platform" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resource\Icon\WORD-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--4.5. PERFORATION RISK CALCULATION-->
                        <MenuItem Click="MenuItem_Click_4_5">
                            <MenuItem.Header>
                                <TextBlock Text="Perforation Risk Calculation" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\XLS-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                    </MenuItem>
                    <!--5. CHECKLIST-->
                    <MenuItem>
                        <MenuItem.Header>
                            <TextBlock Text="CHECKLIST" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                        </MenuItem.Header>
                        <MenuItem.Icon>
                            <Border Background="LightGray" Padding="2">
                                <Image Source="Resources\Icon\CHECK-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                            </Border>
                        </MenuItem.Icon>
                        <!--5.1. DISTRIBUTION LIST-->
                        <MenuItem Click="MenuItem_Click_5_1">
                            <MenuItem.Header>
                                <TextBlock Text="Distribution List" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--5.2. BACKLOAD EQUIPMENT CHECKLIST-->
                        <MenuItem Click="MenuItem_Click_5_2">
                            <MenuItem.Header>
                                <TextBlock Text="Backload Equipment" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\XLS-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--5.3. ARRIVE PLATFORM CHECKLIST-->
                        <MenuItem Click="MenuItem_Click_5_3">
                            <MenuItem.Header>
                                <TextBlock Text="Arrive Platform" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\PDF-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                        <!--5.4. RMPC CHECKLIST-->
                        <MenuItem Click="MenuItem_Click_5_4">
                            <MenuItem.Header>
                                <TextBlock Text="RMPC Checklist" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                            </MenuItem.Header>
                            <MenuItem.Icon>
                                <Border Background="LightGray" Padding="2">
                                    <Image Source="Resources\Icon\XLS-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                                </Border>
                            </MenuItem.Icon>
                        </MenuItem>
                    </MenuItem>
                    <!--6. SERVICE QUALITY-->
                    <MenuItem Click="MenuItem_Click_6">
                        <MenuItem.Header>
                            <TextBlock Text="SERVICE QUALITY" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                        </MenuItem.Header>
                        <MenuItem.Icon>
                            <Border Background="LightGray" Padding="2">
                                <Image Source="Resources\Icon\HAL-icon.png" 
                                       Width="{StaticResource ImageSize}" 
                                       Height="{StaticResource ImageSize}"></Image>
                            </Border>
                        </MenuItem.Icon>
                    </MenuItem>

                </ContextMenu>
            </TextBox.ContextMenu>
        </TextBox>
        <Expander Header="Other ... ^o^" Height="Auto" Name="expander1" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="10,0" Collapsed="expander1_Collapsed" Expanded="expander1_Expanded">
            <Grid>
                <WrapPanel Height="Auto" Name="wrapPanel2" Margin="-11,0">
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="CH Maintenance" Foreground="Black" Height="30" MinWidth="0" Name="butMaintenance" Width="120" Margin="10" />
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="PCE" Foreground="Black" Height="30" MinWidth="0" Name="butPCE" Width="120" Margin="10" />
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="Hazard Hunt" Foreground="Black" Height="30" MinWidth="0" Name="butHazardHunt" Width="120" Margin="10">
                        <Button.ContextMenu>
                            <ContextMenu Margin="0" Padding="0">
                                <MenuItem Background="SteelBlue" Click="MenuItem_FarPac_New_Click" Foreground="Yellow">
                                    <MenuItem.Header>
                                        <TextBlock HorizontalAlignment="Left" Text="New Farpac" VerticalAlignment="Center" />
                                    </MenuItem.Header>
                                    <MenuItem.Icon>
                                        <Border Background="SeaShell" Padding="2">
                                            <Image Height="{StaticResource ImageSize}" Source="Resources\Icon\CHECK-icon.png" Width="{StaticResource ImageSize}" />
                                        </Border>
                                    </MenuItem.Icon>
                                </MenuItem>
                                <MenuItem Background="SteelBlue" Click="MenuItem_FarPac_OpenFolder_Click" Foreground="White">
                                    <MenuItem.Header>
                                        <TextBlock HorizontalAlignment="Left" Text="Open Folder" VerticalAlignment="Center" />
                                    </MenuItem.Header>
                                    <MenuItem.Icon>
                                        <Border Background="SeaShell" Padding="2">
                                            <Image Height="{StaticResource ImageSize}" Source="Resources\Icon\FOLDER-icon.png" Width="{StaticResource ImageSize}" />
                                        </Border>
                                    </MenuItem.Icon>
                                </MenuItem>
                                <MenuItem Background="SteelBlue" Click="MenuItem_FarPac_Recent_Click" Foreground="White">
                                    <MenuItem.Header>
                                        <TextBlock HorizontalAlignment="Left" Text="Recent Farpac" VerticalAlignment="Center" />
                                    </MenuItem.Header>
                                    <MenuItem.Icon>
                                        <Border Background="LightCyan" Padding="2">
                                            <Image Height="{StaticResource ImageSize}" Source="Resources\Icon\FOLDER-icon.png" Width="{StaticResource ImageSize}" />
                                        </Border>
                                    </MenuItem.Icon>
                                </MenuItem>
                            </ContextMenu>
                        </Button.ContextMenu>
                    </Button>
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="HOC" Foreground="Black" Height="30" MinWidth="0" Name="butHOC" Width="120" Margin="10" />
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="Database" Foreground="Black" Height="30" MinWidth="0" Name="butDatabase" Width="120" Margin="10" Click="butDatabase_Click" />
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="Equipment List" Foreground="Black" Height="30" MinWidth="0" Name="butEquip" Width="120" Margin="10" />
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Foreground="Black" Height="30" MinWidth="0" Name="butHandOver" Width="120" Margin="10" Content="Hand-Over" />
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="Chopper Book" Foreground="Black" Height="30" MinWidth="0" Name="butChopper" Width="120" Margin="10" />
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="Boat Schedule" Foreground="Black" Height="30" MinWidth="0" Name="butBoat" Width="120" Margin="10" />
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="Notification" Foreground="Black" Height="30" MinWidth="0" Name="butNotification" Width="120" Margin="10" />
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="Icident Report" Foreground="Black" Height="30" MinWidth="0" Name="butIR" Width="120" Margin="10" />
                    <Button Background="#FFFFFFCE" BorderBrush="#FF0032FF" Content="PENDING" Foreground="Black" Height="30" MinWidth="0" Name="butPending" Width="120" Margin="10" />
                </WrapPanel>
            </Grid>
        </Expander>
    </WrapPanel>
</custom:CustomWindow>